home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / utility / dasbot20.zip / DASBOOT.DOC < prev    next >
Text File  |  1992-08-01  |  22KB  |  406 lines

  1.  
  2.  
  3.  
  4. DasBOOT.DOC
  5. V.2.0 (August 1, 1992)
  6. "Stacker* Aware!"
  7. Copyright 1991-1992 by Russell Mueller
  8. Member of the Association of Shareware Professionals
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15. INTRODUCTION
  16. DasBOOT! is a reconfiguration/rebooting program written and compiled in
  17. Microsoft QuickBASIC V.4.5.  The user may select a configuration from a set
  18. of AUTOEXEC.BAT & CONFIG.SYS files displayed on the screen.  The program
  19. then copies these files to AUTOEXEC.BAT & CONFIG.SYS and does a cold boot
  20. of the computer.  DasBoot! can handle up to 7 configurations plus restore
  21. last used configuration.
  22.  
  23.  
  24. DISCLAIMER - AGREEMENT
  25.     Users of  DasBOOT! must accept this disclaimer of warranty:
  26. "DasBOOT! is supplied as is.  The author disclaims all warranties, expressed
  27. or implied, including, without limitation, the warranties of merchantability
  28. and of fitness for any purpose.  The author assumes no liability for damages,
  29. direct or consequential, which may result from the use of DasBOOT!."
  30.  
  31.  
  32. *********************************************
  33. *WARNING, WARNING, WARNING, WARNING*
  34. *********************************************
  35.     Before running any re-configuration program, such as DasBOOT!, it is
  36. advisable to create a boot floppy disk that contains the current AUTOEXEC.BAT
  37. and CONFIG.SYS files.  If you have Stacker installed, then be sure to include
  38. necessary lines as well in your CONFIG.SYS and path statement in the
  39. AUTOEXEC.BAT files.
  40.     Delayed-write disk caches may cause problems with DasBOOT! and
  41. similar reconfiguration programs which copy files to your AUTOEXEC.BAT and
  42. CONFIG.SYS files and then cold boot the computer.  If you have problems, you
  43. must flush your cache's buffer and then disable the cache before running
  44. DasBOOT!
  45.     DasBoot! tries to prevent any disk cacheing programs from causing any
  46. problems by issuing a DOS interrupt call to flush all disk buffers before
  47. rebooting, but this may not work on all disk caches.
  48.     DasBOOT! may be run from any directory of your bootable hard drive.
  49. Copy DasBOOT.EXE, DASBOOT.CFG, and any configuration startup files (pairs
  50. of BAT and SYS files) to a directory on the hard drive from which you
  51. normally boot (usually C:).
  52. *****DO NOT RUN DasBOOT! YET!*****
  53.     You must first configure it and edit the sample CONFIG.SYS and
  54. AUTOEXEC.BAT files!
  55. NEVER RUN DasBOOT! FROM WITHIN MICROSOFT WINDOWS 3.0 or 3.1 !!!
  56.     Always exit from Windows.  Do not run DasBOOT! from within a DOS
  57. session under Windows!  If you do so, some data and program files may be left
  58. open, and may be irreversibly damaged.  Also, Window's TMP files will be left
  59. on your hard drive and will eventually fill up your hard drive unless you
  60. manually erase them.  DasBOOT! does not check for the existence of files
  61. which you specify in the DasBOOT.CFG file.  No damage will be done, but no
  62. reconfiguration will be done either.
  63.  
  64. INSTALLING DasBOOT!
  65.  
  66. After UnZIPing the DASBOOT.ZIP file, make a DASBOOT subdirectory on your
  67. boot drive.  (MD C:\DASBOOT)  Copy these files to your DasBOOT! directory
  68. DasBOOT.ZIP contains:
  69. DASBOOT.DOC     (This file)
  70. DASBOOT.EXE     The executable file
  71. DASBOOT.CFG     The ASCII configuration description
  72. HISTORY.DOC     Revision history
  73. NORMAL.BAT      An example AUTOEXEC.BAT type file
  74. NORMAL.SYS      An example CONFIG.SYS type file
  75. FS4MEM.BAT      An example AUTOEXEC.BAT type file
  76. FS4MEM.SYS      An example CONFIG.SYS type file
  77. VANILLA.BAT     An example AUTOEXEC.BAT type file
  78. VANILLA.SYS     An example CONFIG.SYS type file
  79.  
  80.  
  81. SETTING UP DasBOOT!
  82.  
  83. 1). The user must create or edit a file called DasBOOT.CFG using a word
  84. processor or text editor which can save files in ASCII format.  The file
  85. contains three lines for each entry.  Do not place any extra carriage returns
  86. between entries.
  87. The format is:
  88. Line 1: The name of the configuration set of AUTOEXEC.BAT and CONFIG.SYS
  89.     files.  Example: NORMAL to indicate NORMAL.BAT and
  90.      NORMAL.SYS.  The example files include FS4MEM.BAT and
  91.     FS4MEM.SYS, VANILLA.BAT and VANILLA.SYS.  The user must
  92.     create the BAT and SYS files and name them and use this exact name in
  93.     the first line of each 3-line setup, 8 characters maximum.  Be sure
  94.         that there are no extra spaces before or after the name.
  95. Line 2: A short description, up to 32 characters.
  96. Line 3: A secondary description, up to 80 characters.
  97.  
  98. There is a limit of 200 configurations in the DASBOOT.CFG file.  You may
  99. create longer files, but DasBOOT! will recognize only the first 200 entries.
  100.  
  101. 2). Add the environment variable DASBOOT to your AUTOEXEC.BAT files.
  102. Without this variable, DasBOOT! will not be able to find it's setup data file
  103. and will ask you for the setup configuration every time it is run.  Add the
  104. following line to your AUTOEXEC.BAT file in the root directory of your boot
  105. drive and in each of the files referenced in DASBOOT.CFG:
  106.  
  107.     SET DASBOOT=[Drive:\Path]
  108.  
  109. (example: SET DASBOOT=C:\DASBOOT
  110. Reboot your computer before continuing with the next step.
  111.  
  112. 3). If you are using Stacker by Stac Electronics, then add the necessary
  113. lines for Stacker to every one of your SYS files, and add your Stacker path
  114. to the BAT files as well.  If you fail to do this, then your Stacker drives
  115. will be unavailable after DasBOOTing.
  116.  
  117. IMPORTANT!  Before running DasBOOT! for the first time, backup your
  118. AUTOEXEC.BAT and CONFIG.SYS files.  Optionally, copy them to new files
  119. such as AUTOEXEC.XXX and CONFIG.XXX.   I recommend also keeping a
  120. backup on floppy disk.
  121.     It is recommended that you copy your normal, everyday startup files
  122. into the NORMAL files above, and the bare-bones maximum memory
  123. configuration startup files that you may now be using from a floppy to run
  124. Flight Simulator or other memory hungry game or application into the FS4MEM files.
  125.  
  126. COPY AUTOEXEC.BAT NORMAL.BAT
  127. COPY CONFIG.SYS NORMAL.SYS
  128. COPY BAREBONE.BAT FS4MEM.BAT ; or AUTOEXEC.BAT instead of
  129.         BAREBONE.BAT from your floppy boot disk.
  130. COPY BAREBONE.SYS FS4MEM.SYS ; or CONFIG.SYS instead of
  131.         BAREBONE.SYS from your floppy boot disk.
  132.  
  133.     The example files are for example only!  Do not run them!  They may 
  134. crash your system and have you scrambling for your DOS floppy, if you did not
  135. copy the files as suggested above.
  136.     Since you are unlikely to have the same hardware and software
  137. configuration as I have, you will probably want to (and HAVE to) modify the
  138. BAT and SYS files to suit your system, in order to access any drivers (mice,
  139. scanners, memory managers, hard drive drivers, etc.).  You may use any word
  140. processor which can save in ASCII format, or other editor such as EDIT which
  141. comes with DOS 5.0.  If you create other configuration setup files, then edit
  142. the DASBOOT.CFG as well, following the DasBOOT.CFG syntax for the information
  143. in each line.
  144.  
  145. RUNNING DASBOOT!
  146.     To run DasBOOT, exit Windows or any other shell type program that you
  147. may be using.  Log onto the drive and directory where you have installed the
  148. DasBOOT! files.  If you have added the environment variable
  149. (SET DASBOOT=C:\DASBOOT) and added the DASBOOT subdirectory to your path,
  150. then you can type DASBOOT at any DOS prompt. (For new computer users, the
  151. command for changing directories is CD\DASBOOT).
  152.     Now run DasBOOT! by typing DasBOOT (and screaming DasBOOT! at the top
  153. of your lungs.  Just kidding, although my friends and I do this at work,
  154. <smile>  That kind of gives away that we are using Flight Simulator
  155. again.), and pressing the Enter key.  The first time that you run DasBOOT!,
  156. you will be asked a few questions on the configuration of your computer.  A
  157. file called DASBOOT.DAT will be written to your DasBOOT subdirectory.  Next,
  158. you will be presented with a menu of options.   Select one of the boot
  159. configurations by either pressing a number key, or by using the arrow keys
  160. (see note below on arrow keys) to highlight a configuration and pressing
  161. Enter.  The screen will clear and you will see the message:
  162.  
  163.     "DasBOOTing in Progress...".
  164.  
  165.     DasBOOT! may not complete the file copying before re-boot if you are
  166. using a write delay with a hard drive cache.  The AUTOEXEC.BAT and CONFIG.SYS
  167. files may become corrupted, or the re-boot may cause a lockup if there are
  168. incompatible drivers, or TSR's in the CONFIG.SYS and AUTOEXEC.BAT files.  If
  169. lockup occurs, you will have to boot off of a floppy disk, and edit your
  170. startup files on the hard drive manually.  If DasBOOT! cannot complete the
  171. file copies before a boot occurs, then you must first disable your cache
  172. before DasBOOT!ing!
  173.  
  174. OPTIONS
  175. There are 3 new options in DasBOOT! V.2.0:
  176. 1. You can change whether DasBOOT does a warm boot vs. a cold boot by
  177.    using the [F1] key.  You will see the [F1] key prompt at the bottom of
  178.    the screen change based on your selection.  A warm boot does not go
  179.    through the POST error checking built into the BIOS and so is slightly
  180.    faster than a cold boot.
  181. 2. You may decide to do a reconfiguration without rebooting the computer.
  182.    This option, I call the 'MIDNIGHT KEY', is for times when you wish to
  183.    reconfigure the computer for other users such as less experienced
  184.    members of the family, but are about to turn off the computer and go to
  185.    bed.  The next time the computer is turned on, it will boot into the
  186.    new configuration.  With this option, you do not have to sit through a
  187.    reboot before shutting off for the night.  The [F2] key toggles this
  188.    option and current staus is reflected at the bottom of the screen.
  189. 3. The [F3] key may be used to run the setup program, where the user
  190.    can change the paths to stacker or DasBOOT! or change the default
  191.    boot type to be a warm boot or cold boot.
  192. 4. The [F4] key can be used in the unRegistered version to print a
  193.    Registration Form.
  194.  
  195. ABOUT STACKER
  196.  
  197.     DasBOOT has been tested with Stacker V.2.00, by STAC Electronics Inc.
  198. Stacker does not make any physical changes to the hard drive.  It creates a
  199. file on the hard drive called STACVOL.DSK.  Within this file is stored the
  200. data from the hard drive in compressed form.  DOS assigns a new drive letter
  201. for accessing the virtual drive created by the Stacker driver.  The
  202. compressed drive is the Stacker drive and the new uncompressed drive (called
  203. the host drive) takes on the next available drive letter.  If you modify your
  204. configuration, such as adding or removing ramdrives or other disk drivers,
  205. and re-boot, then the name of the uncompressed drive name will change.
  206. The uncompressed boot drive contains AUTOEXEC.BAT, CONFIG.SYS files as well
  207. as any TSR's that existed on the original boot disk.  Stacker must keep both
  208. the compressed image of these files the same as the files on the uncompressed
  209. drive.  If the AUTOEXEC.BAT or CONFIG.SYS changes on the compressed drive,
  210. then Stacker must update the uncompressed drive as well.  For this reason,
  211. it is necessary for DasBOOT! to determine the name of the uncompressed drive
  212. and copy the new AUTOEXEC.BAT and CONFIG.SYS files there as well.  Upon
  213. rebooting, if Stacker detects the change, it will update the files to both
  214. compressed and uncompressed drives, and an additional reboot is necessary.
  215. DasBOOT! takes this into account and copies the new files to both the Stacker
  216. drive as well as the uncompressed drive.  This eliminates the extra reboot
  217. that Stacker would normally require.  The mechanism for doing this is to run
  218. the STACKER.EXE program, and sends the  results to a file called STACKER.DAS
  219. on the compressed boot drive (usually C:).  The files is parsed and DasBOOT!
  220. determines the assigned drive letter to the uncompressed boot drive.  The
  221. STACKER.DAS file that DasBOOT! created  is erased.  Lastly, the new
  222. AUTOEXEC.BAT and CONFIG.SYS files are written to both drives before issuing
  223. a cold boot instruction.
  224.     If you did not Stack the boot drive of your computer, then DasBOOT!
  225. will copy the AUTOEXEC.BAT and CONFIG.SYS files to the boot drive only.  It
  226. is very important, before running DasBOOT! on a Stacked hard drive, that ALL
  227. renamed AUTOEXEC.BAT and CONFIG.SYS files referred to in the DASBOOT.CFG file
  228. contain the necessary STACKER lines as well as the path statement to the
  229. STACKER directory.  If this is not adhered to, then file damage may result.
  230. You may create a DASBOOT subdirectory on your host drive (the uncompressed
  231. drive), and copy all of the DasBOOT! files there including your BAT and SYS
  232. files.  If you should inadvertantly boot up without Stacker loaded, then you
  233. will be able to DasBOOT! back, with one limitation:  Stacker does not
  234. actually use the AUTOEXEC.BAT file on the host drive, but instead uses the
  235. AUTOEXEC.BAT on the compressed (Stacked) drive.  And so, the first execution
  236. of DasBOOT! from this situation will give you a mixed AUTOEXEC.BAT and
  237. CONFIG.SYS.  DasBOOT! once more and the problem will be corrected!  And
  238. then be sure to add the Stacker lines to ALL of the CONFIG.SYS type files!
  239. For further information on Stacker, consult your Stacker manual.
  240.  
  241.  
  242. HISTORY/Bug Fixes in DasBOOT!:
  243.  
  244. V.1.1  Although the program was written to recognize the up and down
  245.        arrow keys of 101-key enhanced keyboards, some keyboards may
  246.        required that the NUM LOCK and the CapsLock key be off for the
  247.        arrow keys on enhanced keyboards to work.  DasBOOT! now turns
  248.        them both off at the start of the program.
  249. V.1.2  Highlight was not selecting the whole line in V.1.0 and V.1.1,
  250.        and caused an unusual screen display.
  251. V.1.3  DOS interrupt call added which dumps the DOS disk buffers.
  252. V.1.4  DasBOOT! is made "Stacker Aware".  Stacker is a trademark/copyright
  253.        of STAC Electronics.  This version was not publicly released.  It
  254.        was only released for beta testing.
  255. V.1.5  Modifications were made to allow DasBOOT! to exist in a directory
  256.        which is different from the root directory of the boot drive.
  257.        This version has also been made "Stacker Aware".  It has only be
  258.        tested withStacker V.2.00.  This version was not released to the
  259.        public.
  260. V.1.6  Additional error checking added to look for errors in DASBOOT.CFG.
  261. V.1.7  Mouse support added.  Not released to public.
  262. V.1.8. Increased configurations to 200.  Eliminated "Last Config" option.
  263. V.1.9  Trimmed leading and trailing spaces from data read from
  264.        DASBOOT.CFG file.
  265. V.2.0  Three new options: a) Cold vs. Warm boot, b) Copy files with no boot,
  266.        c) Change Setup.
  267.  
  268. DEFINITION OF SHAREWARE
  269. Shareware distribution gives users a chance to try software before buying it.
  270. If you try a Shareware program and continue using it, you are expected to
  271. register. Individual programs differ on details -- some request registration
  272. while others require it, some specify a maximum trial period. With DasBOOT!,
  273. registration for individual users is $10.00 in U.S. funds.  Non-U.S.
  274. registrants, please use an International Postal Money Order available from
  275. your Post Office and include an additional $3.00 for shipping.
  276.  
  277. This pricing may change in future releases, as features are added.
  278.  
  279.      Copyright laws apply to both Shareware and commercial software, and
  280. the copyright holder retains all rights, with a few specific exceptions as
  281. stated below.  
  282.      Shareware authors are accomplished programmers, just like commercial
  283. authors, and the programs are of comparable quality. (In both cases, there
  284. are good programs and bad ones!) The main difference is in the method of
  285. distribution. The author specifically grants the right to copy and distribute
  286. the software, either to all and sundry or to a specific group. For example,
  287. some authors require written permission before a commercial disk vendor may
  288. copy their Shareware.
  289.  
  290.      Shareware is a distribution method, not a type of software. You should
  291. find software that suits your needs and pocketbook, whether it's commercial
  292. or Shareware.  The Shareware system makes fitting your needs easier, because
  293. you can try before you buy.  And because the overhead is low, prices are low
  294. also. Shareware has the ultimate money-back guarantee -- if you don't use the
  295. product, you don't need to register/license it.
  296.  
  297. TROUBLE-SHOOTING
  298. 1. DasBOOT! won't configure and gets stuck in a loop asking for setup
  299.    parameters: Check that you have added both the path statement and the
  300.    environment variable statement to your AUTOEXEC.BAT files (all *.BAT files
  301.    listed in your DASBOOT.CFG file).  Check that the paths are correct and
  302.    reboot your computer before trying to run DasBOOT!.   It may be necessary
  303.    to type the SET DASBOOT=C:\DASBOOT command at the DOS prompt to
  304.    correct this error.  At the DOS command prompt (C:\>), type SET [Enter] to
  305.    verify that the environment variable SET DASBOOT=C:\DASBOOT is set
  306.    correctly.  You may need to increase your environment size in your
  307.    CONFIG.SYS files if your configuration contains many SET variable
  308.    parameters and a long path.  See the section on the SHELL command in your
  309.    DOS manual on how to increase the environment size.
  310. 2. DasBOOT! indicates that there is an error in the DASBOOT.CFG file or
  311.    doesn't copy the new SYS and BAT files to the files in the root of the boot
  312.    drive:  Check the file with a word processor or editor that can show control
  313.    characters and blank spaces.  If there are extra characters in the line naming
  314.    the BAT and SYS files, then an error will occur.
  315. 3. Why doesn't DasBOOT! have a built-in editor?  In all likelyhood, you already
  316.     have a least a word processor on your system and possibly other text editors
  317.    as well (EDLIN with all versions of DOS and EDIT with MS-DOS 5.0 for
  318.    example).  DasBOOT! is kept smaller by not "re-inventing the Wheel".  (The
  319.    exceptions to the -re-inventing the Wheel are of course my games,
  320.    EGAWHEEL, VGAWHEEL, and WINWHEEL).
  321.  
  322. DISCLAIMER - AGREEMENT
  323.  
  324.      Users of  DasBOOT! must accept this disclaimer of warranty:
  325. "DasBOOT! is supplied as is.  The author disclaims all warranties, expressed
  326.  or implied, including, without limitation, the warranties of merchantability
  327.  and of fitness for any purpose.  The author assumes no liability for
  328.  damages, direct or consequential, which may result from the use of
  329.  DasBOOT!."
  330.      DasBOOT! is a "shareware program" and is provided at no charge to the
  331. user for evaluation.  Feel free to share it with your friends, but please do
  332. not give it away altered or as part of another system. The essence of
  333. "user-supported" software is to provide personal computer users with quality
  334. software without high prices, and yet to provide incentive for programmers to
  335. continue to develop new products.  If you find this program useful and find
  336. that you are using DasBOOT! and continue to use DasBOOT! after a reasonable
  337. trial period, you must make a registration payment of $10.00 to
  338. Russell Mueller.  The registration fee will license one copy for use on any
  339. one computer at any one time. You must treat this software just like a book.
  340. An example is that this software may be used by any number of people and may
  341. be freely moved from one computer location to another, so long as there is no
  342. possibility of it being used at one location while it's being used at
  343. another;Just as a book cannot be read by two different persons at the same
  344. time.
  345.  
  346.     Commercial users of DasBOOT! must register and pay for their copies
  347. of DasBOOT! within 30 days of first use or their license is withdrawn.
  348. Site-License arrangements may be made by contacting Russell Mueller.  The
  349. registration price for commercial users is $10.00 per user.
  350.  
  351.     Anyone distributing DasBOOT! for any kind of remuneration must first
  352. contact Russell Mueller at the address below for authorization.
  353.  
  354.  
  355.     You are encouraged to pass a copy of the shareware version of
  356. DasBOOT! along to your friends for evaluation.  Please encourage them to
  357. register their copy if they find that they can use it.  All registered users will
  358. receive software support via mail, free upgrades/fixes for 3 months from date of
  359. registration, as upgrades are made available, and a printed manual.
  360.  
  361.  
  362.  
  363. ***ASP Ombudsman Policy***************************
  364. "This program is produced by a member of the Association of Shareware
  365. Professionals (ASP).  ASP wants to make sure that the shareware principle
  366. works for you.  If you are unable to resolve a shareware related problem with
  367. an ASP member by contacting the member directly, ASP may be able to help.
  368. The ASP Ombudsman can help you resolve a dispute or problem with an ASP
  369. member, but does not provide technical support for members' products.
  370. Please write to the ASP Ombudsman at:545 Grover Road, Muskegon, MI  49442
  371. or send a Compuserve message via Compuserve Mail to ASP Ombudsman
  372. 70007,3536.
  373.     The OMB may be contacted by FAX by sending to the ASP FAX number:
  374. (616) 788-2765.  In communication with the OMB, please include a telephone
  375. number and/or FAX if available."
  376. **************************************************
  377.  
  378.  
  379.  
  380. Thank you for reading this and supporting the shareware marketing method,
  381. where you try before you buy!
  382.  
  383. DasBOOT! was written and is distributed by:
  384.  
  385. Russell Mueller
  386. 507 Washington Gdns
  387. Washington, NJ  07882-9205
  388. USA
  389.  
  390. Compuserve [76662,1623]
  391.  
  392.  
  393. Registration for DasBOOT! is only $10.00 U.S.
  394. Non-U.S. residents, please use International Postal Money Order.
  395. I cannot accept checks drawn on a non-U.S. bank due to the practice of U.S.
  396. banks to charge $10 for cashing a non-U.S. check plus $10 for exchange of
  397. currency plus a precentage of the value of the check.  I would have to raise
  398. the price of DasBOOT! to $30 U.S.
  399.  
  400. *Stacker is a trademark of Stac Electronics.  Russell Mueller is not an
  401. employee nor associated with Stac Electronic.  DasBOOT! V.2.0 has been tested
  402. with V.2.00 of Stacker.
  403. <End of Document>
  404.  
  405.  
  406.